"""
======================
@author:SUNLIN
@time:2025/3/4 18:25
@email:1232@163.com
======================
"""
sales = [
    ['雅诗兰黛', 'OLAY', '相宜本草', 'Keith'],
    [1, 2, 3, 4],  # 销售数量
    [1, 2, 3, 4],  # 销售额
]

# 1. 提取列表中的数据
sales_amount = sales[1]
sales_price = sales[2]
# 2.将列表中第2行和第三行相乘
list_target = []
# 3.打印对应商品的销售总额数据
for (a, b) in zip(sales_amount, sales_price):
    multiple = a * b
    list_target.append(multiple)

for (s, l) in zip(sales[0], list_target):
    print(s, "销售总额:", l)
